package cn.kgc.service.impl;

import cn.kgc.dao.FacultyDao;
import cn.kgc.dao.impl.FacultyImpl;
import cn.kgc.entity.Faculty;
import cn.kgc.service.FacultyService;

import java.util.List;

public class FacultyServiceImpl implements FacultyService {

    @Override
    public List<Faculty> findfaculty() {
        FacultyDao facultyDao = new FacultyImpl();
        List<Faculty> facultyList = facultyDao.findfaculty();
        return facultyList;
    }
}
